# output library

# header file lists
set(SWMMOUTPUTAPI_HEADERS
    ../src/outputAPI.h)

# read_node_ts exe
set(BINNAME1 read_node_ts)
# source file lists
set(READ_NODE_TS_SRC
    read_ts.c)
add_executable(
    ${BINNAME1}
    ${READ_NODE_TS_SRC}
)
target_include_directories(${BINNAME1}
    PUBLIC
    ../src)
target_link_libraries(${BINNAME1}
    PUBLIC
    swmmoutputapi)

# get_element_is exe 获取要素index
set(BINNAME2 get_element_idx)
# source file lists
set(READ_NODE_TS_SRC
    get_element_index.c)
add_executable(
    ${BINNAME2}
    ${READ_NODE_TS_SRC}
)
target_include_directories(${BINNAME2}
    PUBLIC
    ../src)
target_link_libraries(${BINNAME2}
    PUBLIC
    swmmoutputapi)